<legend class='hyc-legend'>
    <span>版本列表</span>
</legend>
<div class="row">
    <div class="col-md-12 text-left">
        <div class="btn btn-default btn-warning btn-sm" ui-sref="version-edit({versionTitle: '新增信息'})" >新增发布版本</div>
    </div>
</div>
<table class="table table-bordered" style="margin-top: 20px;">
    <tr>
        <th class="text-left">平台名称</th>
        <th class="text-center">应用类型</th>
        <th class="text-center">版本发布序号</th>
        <th class="text-center">显示发布版本</th>
        <th class="text-left" style="width: 300px;">下载地址</th>
        <th class="text-left" style="width: 300px;">发布内容</th>
        <th class="text-center">操作</th>
    </tr>
    <tr ng-repeat="item in versionList track by $index" ng-if="versionList.length > 0">
        <td class="text-center">{{item.platform}}</td>
        <td class="text-left">{{item.appType == 10? 'Android': 'IOS'}}</td>
        <td class="text-center">{{item.versionCode}}</td>
        <td class="text-center">{{item.version}}</td>
        <td class="text-left">{{item.url}}</td>
        <td class="text-left">{{item.releaseNote}}</td>
        <td class="text-center">
            <a ui-sref="version-edit({versionTitle: '修改信息', id: item.id})">修改&nbsp;&nbsp;</a>
            <a href="javascript:;" ng-click="delVersion(item.id)">删除</a>
        </td>
    </tr>
    <tr ng-if="versionList.length <= 0">
        <td class="text-center" colspan="7">暂无符合条件数据</td>
    </tr>
</table>